@echo off
set "var=%~n0"
set "soft=%var:~12%"
echo %soft%
pyinstaller -F -w -i icon.ico --distpath "out"  %soft%.py 
pyinstaller -F -i icon.ico --distpath "out" -n " %soft%_debug"  %soft%.py

robocopy "Data" "out\Data" /E /R:1 /W:1 /NFL /NDL /NJH /NJS /NP >nul
robocopy "Assets" "out\Assets" /E /R:1 /W:1 /NFL /NDL /NJH /NJS /NP >nul
copy /Y "icon.ico" "out\icon.ico"